package com.woniu.adapter;

import com.woniu.outlet.mysql.dao.TransactionRecordsDao;
import com.woniu.outlet.mysql.po.TransactionRecords;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class transactionRecordsApater {

    @Autowired
    private TransactionRecordsDao recordsDao;

    public void add(TransactionRecords records) {
        recordsDao.insert(records);
    }
}
